Cloudinary\Delivery D

Total Complexity 259
Dependencies 12
Dependents 7
Total lines 1,827
Lines of code 1,018
Logical lines of code 654
Comment lines 593
Methods 50
Properties 13

Methods 50

Method Rating Maintainability Complexity Lines of code
parse_element()
D
28
32 124
convert_tags()
C
35 24 79
standardize_tag()
B
33 21 93
filter_out_cloudinary()
B
36 21 78
set_usability()
A
44 13 42
is_deliverable()
A
56 10 17
find_attachment_size_urls()
A
45 8 40
create_size_relation()
A
46 8 35
validate_url()
A
56 8 18
rebuild_tag()
S
52 6 23
get_sized()
S
55 6 19
is_content_dir()
S
55 6 18
prepare_delivery()
S
50 5 26
maybe_unsize_url()
S
56 5 17
get_context_cache()
S
58 5 15
maybe_filter_out_metadata()
S
53 4 24
query_relations()
S
52 4 23
setup_hooks()
S
53 4 20
process_featured_image()
S
54 4 20
create_delivery()
S
55 4 19
sanitize_url()
S
62 5 10
is_allowed_type()
S
59 4 14
catch_urls()
S
60 4 13
clean_url()
S
56 3 18
generate_signature()
S
58 3 15
init()
S
54 2 21
get_transformations_maybe()
S
63 3 10
dns_prefetch()
S
70 3 6
ensure_relation()
S
66 3 8
get_media_tags()
S
63 3 10
register_sync_type()
S
54 1 24
make_scaled_url()
S
65 2 8
descaled_url()
S
64 2 9
get_current_post_id()
S
80 2 3
get_settings_signature()
S
67 2 8
do_clear_cache()
S
72 2 6
update_size_relations_state()
S
67 2 8
update_size_relations_public_id()
S
65 2 9
update_relation()
S
72 2 5
add_post_id()
S
63 1 13
remove_replace_cache()
S
80 1 3
init_delivery()
S
66 1 8
setup()
S
74 1 5
clear_cache()
S
81 1 3
delete_bulk_size_relations()
S
62 1 10
update_size_relations_transformations()
S
79 1 3
unsync_size_relationship()
S
73 1 5
delete_size_relationship()
S
73 1 5
get_content_path()
S
74 1 4
__construct()
S
75 1 4